﻿#region Copyright information
// 
// Copyright © 2012-2013 Yongkee Cho. All rights reserved.
// 
// This code is a part of the SubnetworkToolkit and governed under the terms of the
// GNU Lesser General  Public License (LGPL) version 2.1 which accompanies this distribution.
// For more information on the LGPL, please visit http://bol.codeplex.com/license.
// 
// - Filename: Microarray_Affymetrix.cs
// - Author: Yongkee Cho
// - Email: yongkeecho@outlook.com
// - Date Created: 2013-01-30 2:55 PM
// - Last Modified: 2013-01-30 3:21 PM
// 
#endregion
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Data.SQLite;

namespace SubnetworkToolkit.Data
{
    [Database]
    public class MicroarrayAffymetrix : DataContext
    {
        public MicroarrayAffymetrix()
            : base(new SQLiteConnection("Data Source=Data/MicroarrayAffymetrix.db;Version=3")) { }

        public Table<Hgu133Plus2> Hgu133Plus2;
        public Table<Hgu133Ab> Hgu133Ab;
    }

    [Table(Name="HG-U133+2")]
    public class Hgu133Plus2
    {
        [Column]
        public string ProbesetId { get; set; }
        [Column]
        public int GeneId { get; set; }
    }

    [Table(Name = "HG-U133AB")]
    public class Hgu133Ab
    {
        [Column]
        public string ProbesetId { get; set; }
        [Column]
        public int GeneId { get; set; }
    }
}
